const express = require('express')

const router = express.Router()

const studyVideosHandler = require('../../router_handler/admin/studyVideos')


//增加学习视频
router.post('/admin/studyVideos', studyVideosHandler.addStudyVideos)

//更新学习商品
router.put('/admin/studyVideos', studyVideosHandler.updateStudyVideos)

//删除学习资视频
router.delete('/admin/studyVideos', studyVideosHandler.delStudyvideos)

//获取学习视频列表
router.get('/admin/studyVideos', studyVideosHandler.getStudyvideosList)


module.exports = router